<template>

  <RouterView></RouterView>

</template>

<script>
import { UserState, UserType } from './Enum.js'
import { RouterView } from 'vue-router';

export default {
  name: 'App',
  components: {
    RouterView
  },
  data(){
    return{
      currentUser: null,  //当前登录的用户， 如果为null值则说明目前为未登录状态
      users: [
        {
          userName: "xxx",
          password: "xxx",
          userEmail: "xxx@xxx.com",
          userType: UserType.USER,
          userState: UserState.OFFLINE,
          registrationDate: "xxxx年xx月xx日 xx:xx:xx",
          userImg: "https://ts1.cn.mm.bing.net/th/id/R-C.0a5dd0a60d9457a9aa9d1b6b990a75e2?rik=NOoaRlopuKZstA&riu=http%3a%2f%2fseopic.699pic.com%2fphoto%2f50051%2f9950.jpg_wh1200.jpg&ehk=tESE5KqtlaOOss8Jb6UhUBX9F8qHCS6aUSnvUC6ut3Q%3d&risl=&pid=ImgRaw&r=0"
        },
        {
          userName: "xxx",
          password: "xxx",
          userEmail: "xxx@xxx.com",
          userType: UserType.USER,
          userState: UserState.OFFLINE,
          registrationDate: "xxxx年xx月xx日 xx:xx:xx",
          userImg: "https://ts1.cn.mm.bing.net/th/id/R-C.0a5dd0a60d9457a9aa9d1b6b990a75e2?rik=NOoaRlopuKZstA&riu=http%3a%2f%2fseopic.699pic.com%2fphoto%2f50051%2f9950.jpg_wh1200.jpg&ehk=tESE5KqtlaOOss8Jb6UhUBX9F8qHCS6aUSnvUC6ut3Q%3d&risl=&pid=ImgRaw&r=0"
        },
      ],
    }
  },
}
</script>

<style>
* {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

body {
  background-color: rgb(195, 195, 252);
  background-image: linear-gradient( rgb(234, 234, 255),rgb(184, 184, 255));
  background-attachment: fixed;
  overflow-x: hidden;
}

.shadow {
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
}
.container {
  width: 1200px;
  margin: 0px auto;
}

.clearFloat{
  overflow: hidden;
}

.leftFloat{
  float: left;
}

.rightFloat{
  float: right;
}

.roundy-10 {
  border-radius: 10px;
}
.roundy-20 {
  border-radius: 20px;
}
.roundy-30 {
  border-radius: 30px;
}
.roundy-40 {
  border-radius: 40px;
}
.fontSize-10 {
  font-size: 10px;
}
.fontSize-20 {
  font-size: 20px;
}
.fontSize-30 {
  font-size: 30px;
}
.fontSize-40 {
  font-size: 40px;
}
.fontSize-50 {
  font-size: 50px;
}
.margin-10 {
  margin: 10px;
}
.margin-15 {
  margin: 15px;
}
.margin-20 {
  margin: 20px;
}
.margin-25 {
  margin: 25px;
}
.margin-30 {
  margin: 30px;
}

.cantSelect {
  user-select: none;
}

.divMiddle {
  margin-left: auto;
  margin-right: auto;
}

.pointer {
  cursor: pointer;
}

@font-face {
  font-family: 'iconfont';
  src: url('../public/fonts/iconfont.woff2?t=1696993821571') format('woff2'),
       url('../public/fonts/iconfont.woff?t=1696993821571') format('woff'),
       url('../public/fonts/iconfont.ttf?t=1696993821571') format('truetype');
}
</style>
